package com.ocom.human.feignclient;

import com.ocom.common.constant.CompanyServiceUrl;
import com.ocom.common.constant.HumanServiceUrl;
import com.ocom.common.dto.*;
import com.ocom.common.entity.company.*;
import com.ocom.common.entity.master.EntityWechatAppInfo;
import com.ocom.common.entity.pay.EntityAppConfig;
import com.ocom.common.request.company.*;
import com.ocom.common.request.web.WebAppConfigGetFuncVo;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.CompanyListInfoVo;
import com.ocom.common.vo.company.ComLoginAuthCodeRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.Valid;
import java.util.Map;

@FeignClient(value = "company")
public interface CompanyClientService {
    @PostMapping(HumanServiceUrl.URL_getFeatureVersion)
    public Result getFeatureVersion(@RequestParam("companyId") Long companyId);

}
